package com.quectel.core.module.partybuilding.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author bob
 * @email bob.yu@quectel.com
 * @date 2023/05/24 11:17
 */
@Data
@Schema
public class PartyPersonBirthdayMsgRecordDto implements Serializable {

    /**
    * id
    */
    @Schema(description = "id")
    private Long id;

    /**
    * 租户id
    */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
    * 党组织id
    */
    @Schema(description = "党组织id")
    private Long partyId;

    /**
    * 模板id
    */
    @Schema(description = "模板id")
    private Long templateId;

    /**
    * 年度
    */
    @Schema(description = "年度")
    private String year;

    /**
    * 党员id
    */
    @Schema(description = "党员id")
    private Long personId;

    /**
    * 消息标题
    */
    @Schema(description = "消息标题")
    private String title;

    /**
    * 消息内容
    */
    @Schema(description = "消息内容")
    private String remark;

    /**
    * 创建时间
    */
    @Schema(description = "创建时间")
    private Date createTime;

    /************非数据库字段 start ************/

    @Schema(description = "党员dto")
    private PartyPersonDto partyPerson;

    @Schema(description = "党组织名称")
    private String partyName;

    /************非数据库字段 end **************/
}
